import {get} from "@/services/base-request";
import {API} from "@/services/typings";

export const getRecentOrdersAPI = () => {
  return get<API.IOrderInfo[]>("/clientHome/recentOrders")
}
export const getServerInfoAPI = () => {
  return get<API.IServer>("/clientHome/server")
}

export const getStatisticsAPI = () => {
  return get<any[]>("/clientHome/statistics")
}
